// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "Data/MissionStruct.h"
#include "MissionSystemFL.generated.h"

UCLASS()
class MISCELLANEOUSPROJECT_API UMissionSystemFL : public UBlueprintFunctionLibrary
{
	GENERATED_BODY()
	
public:
	static class UMissionComponent* GetMissionComponent();
	static bool IsLocalPawn(class AActor* Pawn);
	static class ATargetsManager* GetTargetManager();
	static FTargetInfo FindInCurrentTargets(const FName& WithUniqueName);
	static void MissionComponentOnOverlap(AActor* OtherActor,bool& OutCanAccess,UMissionComponent*& OutComponentReference);
	static bool IsTargetInCurrentObjectives(const FName& TargetUniqueName);
	static bool IsInSpecificMission(const FName& UniqueMissionName);
	static bool IsInMission();
};
